package com.example.mybatisplusdemo.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author yrd
 * @since 2025-07-07
 */
@Getter
@Setter
@ToString
@TableName("airline")
@Accessors(chain = true)
@ApiModel(value = "Airline对象", description = "")
public class Airline implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("code")
    private String code;

    @TableField("name")
    private String name;

    @TableField("logo")
    private String logo;

    /**
     * 所属联盟（Star Alliance, SkyTeam等）
     */
    @TableField("alliance")
    @ApiModelProperty("所属联盟（Star Alliance, SkyTeam等）")
    private String alliance;

    @TableField("loyalty_program")
    private String loyaltyProgram;
}
